import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import HomePage from './views/HomePage.vue'
import Home_2 from './views/Home_2.vue'


import About from './views/About.vue'
import Login from './views/Login.vue'
import Gongfo from './views/Gongfo.vue'

import Xundeng from './views/Xundeng.vue'

import Rank from './views/Rank.vue'

/* import FingerprintRecognition from './views/FingerprintRecognition.vue'
import Face from './views/Face.vue'
import AddFace from './views/AddFace.vue'
import AdminPage from './views/AdminPage.vue'
import InitialLogin from './views/InitialLogin.vue'
import GongfoStep1 from './views/GongfoStep1.vue'
import AddCard from './views/AddCard.vue'
import AddFingerprint from './views/AddFingerprint.vue' */

import Consumer from './views/Consumer.vue'
import GongfoStep0 from './views/GongfoStep0.vue'


import GongfoStep01 from './views/GongfoStep01.vue'

import AdminPageOrder from './views/AdminPageOrder.vue'


import AdminPageLed from './views/AdminPageLed.vue'







Vue.use(Router)

export default new Router({
	mode: 'hash',
	base: process.env.BASE_URL,
	routes: [{
			path: '/',
			name: 'home',
			component: Home
			//component: () => import( /* webpackChunkName: "about" */ './views/Home.vue')
		},
		
		
		
		

		{
			path: '/homePage',
			name: 'homePage',
			component: HomePage
			//component: () => import( /* webpackChunkName: "about" */ './views/About.vue')
		},
		
		
		{
			path: '/home_2',
			name: 'home_2',
			component: Home_2
			//component: () => import( /* webpackChunkName: "about" */ './views/About.vue')
		},
		
		
		{
			path: '/about',
			name: 'about',
			component: About
			//component: () => import( /* webpackChunkName: "about" */ './views/About.vue')
		},
		
		
		
		
		

		{
			path: '/login',
			name: 'login',
			component: Login
			//component: () => import( /* webpackChunkName: "about" */ './views/Login.vue')
		},

		{
			path: '/gongfo',
			name: 'gongfo',
			component: Gongfo
			//component: () => import( /* webpackChunkName: "about" */ './views/Gongfo.vue')
		},
		{
			path: '/rank',
			name: 'rank',
			component: Rank
			//component: () => import( /* webpackChunkName: "about" */ './views/Rank.vue')
		},
		{
			path: '/xundeng',
			name: 'xundeng',
			component: Xundeng
			//component: () => import( /* webpackChunkName: "about" */ './views/Xundeng.vue')
		},


		{
			path: '/demo',
			name: 'demo',
			component: () => import( /* webpackChunkName: "about" */ './views/Demo.vue')
		},

		{
			path: '/swipingCard',
			name: 'swipingCard',
			component: () => import( /* webpackChunkName: "about" */ './views/SwipingCard.vue')
		},


		{
			path: '/fingerprintRecognition',
			name: 'fingerprintRecognition',
			//component: FingerprintRecognition
			component: () => import( /* webpackChunkName: "about" */ './views/FingerprintRecognition.vue')
		},

		{
			path: '/face',
			name: 'face',
			//component: Face
			component: () => import( /* webpackChunkName: "about" */ './views/Face.vue')
		},
		{
			path: '/addFace',
			name: 'addFace',
			//component: AddFace
			component: () => import( /* webpackChunkName: "about" */ './views/AddFace.vue')

		},
		{
			path: '/consumer',
			name: 'consumer',
			component: Consumer
			//component: () => import( /* webpackChunkName: "about" */ './views/Consumer.vue')
		},
		{
			path: '/adminPage',
			name: 'adminPage',
			//component: AdminPage
			component: () => import( /* webpackChunkName: "about" */ './views/AdminPage.vue')
		},
		{
			path: '/initialLogin',
			name: 'initialLogin',
			//component: InitialLogin
			component: () => import( /* webpackChunkName: "about" */ './views/InitialLogin.vue')
		},
		{
			path: '/gongfoStep1',
			name: 'gongfoStep1',
			//component: GongfoStep1
			component: () => import( /* webpackChunkName: "about" */ './views/GongfoStep1.vue')
		},
		{
			path: '/addCard',
			name: 'addCard',
			//component: AddCard
			component: () => import( /* webpackChunkName: "about" */ './views/AddCard.vue')
		},
		{
			path: '/addFingerprint',
			name: 'addFingerprint',
			//component: AddFingerprint
			component: () => import( /* webpackChunkName: "about" */ './views/AddFingerprint.vue')
		},
		{
			path: '/gongfoStep0',
			name: 'gongfoStep0',
			component: GongfoStep0
			//component: () => import( /* webpackChunkName: "about" */ './views/GongfoStep0.vue')
		},

		{
			path: '/gongfoStep01',
			name: 'gongfoStep01',
			component: GongfoStep01
			//component: () => import( /* webpackChunkName: "about" */ './views/GongfoStep01.vue')
		},
		{
			path: '/adminPageOrder',
			name: 'adminPageOrder',
			component: AdminPageOrder
			//component: () => import( /* webpackChunkName: "about" */ './views/AdminPageOrder.vue')
		},

		{
			path: '/adminPageLed',
			name: 'adminPageLed',
			component: AdminPageLed
			//component: () => import( /* webpackChunkName: "about" */ './views/AdminPageLed.vue')
		},
		
		
		{
			path: '/gongfoStep0_2',
			name: 'gongfoStep0_2',
			component: () => import( /* webpackChunkName: "about" */ './views/GongfoStep0_2.vue')
		}
		
		
		







		// {
		//   path: '/about',
		//   name: 'about',
		//    route level code-splitting
		//    this generates a separate chunk (about.[hash].js) for this route
		//    which is lazy-loaded when the route is visited.
		//   component: () => import(/* webpackChunkName: "about" */ './views/About.vue')
		// } 



	]
})
